package com.yixun.lbx.service;

import com.yixun.lbx.entity.ProDetail;
import com.yixun.lbx.entity.YxProProductInfo;

import java.util.HashMap;
import java.util.List;

public interface ProductInfoServie {
    /**
     * @apiNote  getCount
     * @param map todo
     * @return java.lang.Integer
     */
    Integer getCount(HashMap<String, Object> map);
/**
 * @apiNote  getListByPage
 * @param map todo
 * @return java.util.List<com.yixun.lbx.entity.YxProProductInfo>
 */
    List<YxProProductInfo> getListByPage(HashMap<String, Object> map);
/**
 * @apiNote  addProductInfo
 * @param map todo
 * @return int
 */
    int addProductInfo(HashMap<String, Object> map);
/**
 * @apiNote  updateProductInfo
 * @param map todo
 * @return int
 */
    int updateProductInfo(HashMap<String, Object> map);
/**
 * @apiNote  deleteProductInfo
 * @param map todo
 * @return int
 */
    int deleteProductInfo(HashMap<String, Object> map);
/**
 * @apiNote  getObjByArgs
 * @param productInfo todo
 * @return java.util.List<com.yixun.lbx.entity.YxProProductInfo>
 */
    List<YxProProductInfo> getObjByArgs(YxProProductInfo productInfo);
/**
 * @apiNote  getSearchListByPage
 * @param map todo
 * @return java.util.List<com.yixun.lbx.entity.YxProProductInfo>
 */
    List<YxProProductInfo> getSearchListByPage(HashMap<String, String> map);
    
    YxProProductInfo getOneByCpId(String cpId);
    
    ProDetail goProductDetail(String id);
}
